Optimal. Leaf size=27 \[ -\frac{\tan ^{-1}\left (\frac{\sqrt{\frac{b}{x^2}-a}}{\sqrt{a}}\right )}{\sqrt{a}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0567394, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176 \[ -\frac{\tan ^{-1}\left (\frac{\sqrt{\frac{b}{x^2}-a}}{\sqrt{a}}\right )}{\sqrt{a}} \]
Antiderivative was successfully verified.
[In] Int[1/(Sqrt[-a + b/x^2]*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 5.5592, size = 22, normalized size = 0.81 \[ - \frac{\operatorname{atan}{\left (\frac{\sqrt{- a + \frac{b}{x^{2}}}}{\sqrt{a}} \right )}}{\sqrt{a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(-a+b/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.0605379, size = 56, normalized size = 2.07 \[ \frac{\sqrt{a x^2-b} \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2-b}}\right )}{\sqrt{a} x \sqrt{\frac{b}{x^2}-a}} \]
Antiderivative was successfully verified.
[In] Integrate[1/(Sqrt[-a + b/x^2]*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.013, size = 50, normalized size = 1.9 \[{\frac{1}{x}\sqrt{-a{x}^{2}+b}\arctan \left ({x\sqrt{a}{\frac{1}{\sqrt{-a{x}^{2}+b}}}} \right ){\frac{1}{\sqrt{-{\frac{a{x}^{2}-b}{{x}^{2}}}}}}{\frac{1}{\sqrt{a}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(-a+b/x^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-a + b/x^2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.247084, size = 1, normalized size = 0.04 \[ \left [-\frac{\sqrt{-a} \log \left (2 \, a x^{2} \sqrt{-\frac{a x^{2} - b}{x^{2}}} +{\left (2 \, a x^{2} - b\right )} \sqrt{-a}\right )}{2 \, a}, \frac{\arctan \left (\frac{\sqrt{a}}{\sqrt{-\frac{a x^{2} - b}{x^{2}}}}\right )}{\sqrt{a}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-a + b/x^2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.48985, size = 46, normalized size = 1.7 \[ \begin{cases} - \frac{i \operatorname{acosh}{\left (\frac{\sqrt{a} x}{\sqrt{b}} \right )}}{\sqrt{a}} & \text{for}\: \left |{\frac{a x^{2}}{b}}\right | > 1 \\\frac{\operatorname{asin}{\left (\frac{\sqrt{a} x}{\sqrt{b}} \right )}}{\sqrt{a}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(-a+b/x**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\sqrt{-a + \frac{b}{x^{2}}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-a + b/x^2)*x),x, algorithm="giac")
[Out]